function onDeleteNews(url, objId, cbo)
{
	var isOK = -1;
	
	if(!confirm('Are you sure you want to delete the News with Id:' + objId))
	{
		return false;
	}
	
	new Ajax.Request(url, 
	{
	  method: 'post',
	  asynchronous: false,
	  parameters:'act=delnews&id=' + objId,
	  onSuccess: function(transport) 
  		{
			var response = transport.responseText || "";
				var pos=response.indexOf('<!');
				content=response.substring(0,pos);
			
			//alert(response);
			
			obj = content.evalJSON();

    		if(obj == null)
    		{
    			$('ajaxResponse1').innerHTML = 'Something wrong! Reponsed string is: ' + response;
    		}
		
    		$('ajaxResponse1').update(obj.message);
		}
	});

	$('ajaxResponse1').style.display = 'inherit';
	Fat.fade_element('ajaxResponse1', null, 1500, null, null);
	
		rowID = 'news_' + objId;
		Fat.fade_element(rowID, null, 1000, "#f22", null);
		setTimeout("$(rowID).remove()", 1000);
		
}

